$(function () {
    let numArr = [138, 95, 1, 567]
    let num1 = 0
    let num2 = 0
    let num3 = 0
    let num4 = 0
    setInterval(() => {
        num1 === numArr[0] ? num1 : num1 += 1;
        $(".num1").text(num1)
    }, 16)
    setInterval(() => {
        num2 === numArr[1] ? num2 : num2 += 1;
        $(".num2").text(num2)
    }, 22)
    setInterval(() => {
        num3 === numArr[2] ? num3 : num3 += 1;
        $(".num3").text(num3)
    }, 500)
    setInterval(() => {
        num4 === numArr[3] ? num4 : num4 += 1;
        $(".num4").text(num4)
    }, 2)
})
